package com.qf.day33_test.service.impl;

import com.qf.day33_test.dao.Dao;
import com.qf.day33_test.entity.Order;
import com.qf.day33_test.entity.Product;
import com.qf.day33_test.service.Service;
import lombok.extern.slf4j.Slf4j;

import javax.annotation.Resource;
import java.util.List;

@org.springframework.stereotype.Service
@Slf4j
public class ServiceImpl implements Service {

    @Resource
    Dao dao;

    @Override
    public List<Product> getProc() {
        return dao.getProc();
    }

    @Override
    public List<Order> getOrder() {
        return dao.getOrder();
    }

}
